package di.module;

import com.xgggh.ok.LoginActivity;
import com.xgggh.ok.MainActivity;

import dagger.Module;
import dagger.android.ContributesAndroidInjector;
import di.scope.ActivityScope;

@Module
public abstract class ActivityModule {
    @ActivityScope
    //@ContributesAndroidInjector(modules = { UserModule.class})
    @ContributesAndroidInjector
    abstract MainActivity contributeYourActivityInjector();

    @ActivityScope
    //@ContributesAndroidInjector(modules = { UserModule.class})
    @ContributesAndroidInjector
    abstract LoginActivity contributeLoginActivityInjector();

}
